<div class="Clear"><br /></div>
<div data-theme="b" data-role="footer"<?php echo ($mobile_fixed ? ' data-position="fixed"' : ''); ?>>
    <div data-role="navbar">
        <ul>
            <li><a href="#" id="click_footer_info" data-icon="info">Info<?php #echo $text_information; ?></a></li>
            <li><a href="#" id="click_footer_service" data-icon="gear">Support<?php #echo $text_service; ?></a></li>
            <li><a href="#" id="click_footer_extra" data-icon="arrow-u"><?php echo $text_extra; ?></a></li>
            <li><a href="#" id="click_footer_account" data-icon="grid"><?php echo $text_footer_account; ?></a></li>
        </ul>
    </div>

    <script type="text/javascript">
        $(document).delegate('#click_footer_account', 'click', function() {
            $(this).simpledialog({
                'mode' : 'blank',
                'prompt': false,
                'forceInput': false,
                'useModal':true,
                'fullHTML' : 
                    "<ul data-role='listview'><li data-role='list-divider'><?php echo $text_account; ?></li><?php echo ($logged ? '<li><a href=\'' . $logout . '\'>Logout</a></li>' : ''); ?><li><a href='<?php echo $account; ?>'><?php echo $text_account; ?></a></li><li><a href='<?php echo $order; ?>'><?php echo $text_order; ?></a></li><li><a href='<?php echo $wishlist; ?>'><?php echo $text_wishlist; ?></a></li><li><a href='<?php echo $newsletter; ?>'><?php echo $text_newsletter; ?></a></li></ul><a rel='close' data-role='button' href='#' id='simpleclose'>Close</a>"
            })
        });

        $(document).delegate('#click_footer_extra', 'click', function() {
            $(this).simpledialog({
                'mode' : 'blank',
                'prompt': false,
                'forceInput': false,
                'useModal':true,
                'fullHTML' : 
                    "<ul data-role='listview'><li data-role='list-divider'><?php echo $text_extra; ?></li><li><a href='<?php echo $manufacturer; ?>'><?php echo $text_manufacturer; ?></a></li><li><a href='<?php echo $voucher; ?>'><?php echo $text_voucher; ?></a></li><li><a href='<?php echo $affiliate; ?>'><?php echo $text_affiliate; ?></a></li><li><a href='<?php echo $special; ?>'><?php echo $text_special; ?></a></li></ul><a rel='close' data-role='button' href='#' id='simpleclose'>Close</a>"
            })
        });

        $(document).delegate('#click_footer_service', 'click', function() {
            $(this).simpledialog({
                'mode' : 'blank',
                'prompt': false,
                'forceInput': false,
                'useModal':true,
                'fullHTML' : 
                    "<ul data-role='listview'><li data-role='list-divider'><?php echo $text_service; ?></li><li><a href='<?php echo $contact; ?>'><?php echo $text_contact; ?></a></li><li><a href='<?php echo $return; ?>'><?php echo $text_return; ?></a></li><li><a href='<?php echo $sitemap; ?>'><?php echo $text_sitemap; ?></a></li></ul><a rel='close' data-role='button' href='#' id='simpleclose'>Close</a>"
            })
        });

        $(document).delegate('#click_footer_info', 'click', function() {
            $(this).simpledialog({
                'mode' : 'blank',
                'prompt': false,
                'forceInput': false,
                'useModal':true,
                'fullHTML' : 
                    "<ul data-role='listview'><li data-role='list-divider'><?php echo $text_information; ?></li><?php foreach ($informations as $information) { ?><li><a href='<?php echo $information['href']; ?>'><?php echo $information['title']; ?></a></li><?php } ?></ul><a rel='close' data-role='button' href='#' id='simpleclose'>Close</a>"
            })
        });
    </script>

    <!-- 
    OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
    Please donate via PayPal to donate@opencart.com
    //-->
    <div id="powered" align="center"><?php echo strtr($powered, array('<br />' => ' | ')); ?> | Theme by <a href="http://www.webprojectsol.com" target="_blank">Web Project Solutions LLC</a>
    <?php
if ($mobile_change) {
    $DeviceTheme = 'true';
    if ((isset($_GET['DeviceTheme']) && $_GET['DeviceTheme'] == 'false') || (isset($_SESSION['DeviceTheme']) && $_SESSION['DeviceTheme'] == 'false' && !isset($_GET['DeviceTheme']))) {
        $_SESSION['DeviceTheme'] = 'false';
        $DeviceTheme = 'false';
    } elseif ((isset($_GET['DeviceTheme']) && $_GET['DeviceTheme'] == 'true') || (!isset($_GET['DeviceTheme']))) {
        $_SESSION['DeviceTheme'] = 'true';
        $DeviceTheme = 'true';
    }
    ?> | <a href="<?php echo $action; ?>&amp;DeviceTheme=false">Desktop Version</a>
<?php } ?>
    </div>
    <!-- 
    OpenCart is open source software and you are free to remove the powered by OpenCart if you want, but its generally accepted practise to make a small donation.
    Please donate via PayPal to donate@opencart.com
    //-->
</div>
</div>
</body></html>